* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

:root {
    --bilibili-blue: #00A1D6;
    --bilibili-pink: #FB7299;
    --light-bg: #FFFFFF;
    --sidebar-bg: #F8F9FA;
    --card-bg: #FFFFFF;
    --text-dark: #212529;
    --text-gray: #6C757D;
    --border-color: #E9ECEF;
    --hover-bg: #F1F3F5;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --error-color: #F44336;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    display: flex;
    min-height: 100vh;
}

/* 左侧导航栏 */
.sidebar {
    width: 220px;
    background-color: var(--sidebar-bg);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.logo {
    padding: 0 20px 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(90deg, var(--bilibili-blue), var(--bilibili-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 投稿按钮 */
.upload-btn {
    background: var(--bilibili-blue);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    margin: 0 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 161, 214, 0.2);
    text-decoration: none;
}

.upload-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.upload-btn:hover {
    background: #0088b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 161, 214, 0.25);
}

.upload-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 161, 214, 0.2);
}

.nav-item {
    padding: 12px 25px;
    display: flex;
    align-items: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 15px;
    border-left: 3px solid transparent;
}

.nav-item i {
    margin-right: 12px;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.nav-item:hover,
.nav-item.active {
    background: var(--hover-bg);
    color: var(--bilibili-blue);
    border-left: 3px solid var(--bilibili-blue);
}

.nav-item.active {
    color: var(--bilibili-blue);
    font-weight: 500;
}

/* 主内容区 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--light-bg);
}

/* 顶部工具栏 */
.top-bar {
    height: 60px;
    background-color: var(--sidebar-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.search-box {
    position: relative;
    width: 300px;
}

.search-box input {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 15px 8px 40px;
    color: var(--text-dark);
    font-size: 14px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--bilibili-blue);
    box-shadow: 0 0 0 3px rgba(0, 161, 214, 0.1);
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
}

.user-actions {
    display: flex;
    align-items: center;
}

.notification {
    position: relative;
    margin-right: 25px;
    font-size: 18px;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.2s;
}

.notification:hover {
    color: var(--bilibili-blue);
}

/*.notification::after {
            content: "3";
            position: absolute;
            top: -5px;
            right: -10px;
            background: var(--bilibili-pink);
            color: white;
            font-size: 10px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }*/

.user-profile {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 20px;
    transition: background 0.2s;
}

.user-profile:hover {
    background: var(--hover-bg);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--bilibili-blue), var(--bilibili-pink));
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.username {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

/* 内容区域 */
.content-area {
    padding: 25px;
    flex: 1;
    overflow-y: auto;
    background: #f0f2f5;
}

.section-title {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.section-title i {
    margin-right: 10px;
    color: var(--bilibili-blue);
}

/* 稿件管理模块样式 */
.management-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--card-bg);
    color: var(--text-dark);
    font-size: 14px;
    min-width: 140px;
}

.search-container {
    position: relative;
    width: 300px;
}

.search-container input {
    width: 100%;
    padding: 8px 15px 8px 40px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
}

.search-container i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    cursor: pointer;
}

.batch-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.batch-select {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.batch-select:hover {
    background: var(--hover-bg);
}

.batch-buttons {
    display: flex;
    gap: 10px;
}

.batch-btn {
    padding: 8px 15px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.batch-btn:hover {
    background: var(--hover-bg);
}

.batch-btn.delete {
    color: var(--error-color);
    border-color: rgba(244, 67, 54, 0.3);
}

.batch-btn.delete:hover {
    background: rgba(244, 67, 54, 0.05);
}

.videos-table {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    height: 656px;
}

.table-header {
    display: flex;
    background: var(--sidebar-bg);
    font-weight: 500;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.table-row {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    transition: background 0.2s;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover {
    background: var(--hover-bg);
}

.col-checkbox {
    width: 40px;
    display: flex;
    justify-content: center;
}

.col-thumbnail {
    width: 160px;
}

.col-title {
    flex: 3;
    min-width: 300px;
    margin-left: 10px;
}

.col-status {
    width: 120px;
}

.col-stats {
    flex: 2;
    min-width: 200px;
}

.col-actions {
    width: 200px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.video-thumb {
    width: 160px;
    height: 90px;
    border-radius: 4px;
    background: linear-gradient(45deg, #2a5caa, #3a86cc);
    position: relative;
    overflow: hidden;
}

.video-thumb>img{
	width: 100%;
	height: 100%;
}

.video-duration {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 2px;
}

.video-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
    line-height: 1.4;
}

.video-info {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.video-stats {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-gray);
}

.stat-item {
    display: flex;
    align-items: center;
}

.stat-item i {
    margin-right: 5px;
    font-size: 12px;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status-published {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.status-review {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning-color);
}

.status-draft {
    background: rgba(158, 158, 158, 0.1);
    color: #9E9E9E;
}

.action-btn {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-gray);
}

.action-btn:hover {
    background: var(--hover-bg);
    border-color: var(--bilibili-blue);
    color: var(--bilibili-blue);
}

.action-btn.primary {
    background: var(--bilibili-blue);
    color: white;
    border: none;
}

.action-btn.primary:hover {
    background: #0088b3;
}

.action-btn.delete {
    color: var(--error-color);
    border-color: rgba(244, 67, 54, 0.3);
}

.action-btn.delete:hover {
    background: rgba(244, 67, 54, 0.05);
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-btn.active {
    background: var(--bilibili-blue);
    color: white;
    border-color: var(--bilibili-blue);
}

.pagination-btn:hover:not(.active) {
    background: var(--hover-bg);
    border-color: var(--bilibili-blue);
    color: var(--bilibili-blue);
}

/* 投稿模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    width: 600px;
    max-width: 90%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: var(--bilibili-blue);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0 10px;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #f0f0f0;
}

.modal-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-dark);
    font-size: 14px;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--bilibili-blue);
    box-shadow: 0 0 0 3px rgba(0, 161, 214, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.file-upload {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--light-bg);
}

.file-upload:hover {
    border-color: var(--bilibili-blue);
    background: rgba(0, 161, 214, 0.05);
}

.file-upload i {
    font-size: 40px;
    color: var(--bilibili-blue);
    margin-bottom: 15px;
}

.file-upload p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.modal-footer {
    padding: 15px 20px;
    background: var(--sidebar-bg);
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--border-color);
}

.btn-submit {
    background: var(--bilibili-blue);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #0088b3;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .sidebar {
        width: 70px;
    }

    .nav-item span {
        display: none;
    }

    .nav-item i {
        margin-right: 0;
        font-size: 20px;
    }

    .logo-text {
        display: none;
    }

    /* 小屏幕下投稿按钮样式 */
    .upload-btn {
        padding: 12px 0;
        margin: 0 15px 15px;
    }

    .upload-btn span {
        display: none;
    }

    .upload-btn i {
        margin-right: 0;
        font-size: 20px;
    }

    /* 响应式表格 */
    .col-thumbnail {
        width: 100px;
    }

    .video-thumb {
        width: 100px;
        height: 60px;
    }

    .col-stats,
    .col-status {
        display: none;
    }

    .col-actions {
        width: auto;
    }
}

@media (max-width: 768px) {
    .management-header {
        flex-direction: column;
    }

    .search-container {
        width: 100%;
    }

    .batch-actions {
        width: 100%;
        justify-content: space-between;
    }

    .col-title {
        min-width: auto;
    }
}
#prompt{
	width: 200px;
	height: 60px;
	background-color: black;
	position: fixed;
	top: -60px;
	left: 760px;
	margin: auto;
	border-radius: 6px;
	color: white;
	font-size: 20px;
	line-height: 60px;
	text-align: center;
}